package cn.cau.entity;

public class AuditingApplyRecord {
    private String operation;

    private int op;

    private int state;

    private int index;              //规则修改申请表/规则申请申请表中的id

    private int oldId;             //旧规则id，待废除id

    private int newId;             //新规则id或申请规则id

    private String objectName;      //编码事物名称

    private String date;        //日期

    private int userId;

    private String reason;          //申请理由

    private int result;             //申请结果

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public int getOp() {
        return op;
    }

    public void setOp(int op) {
        this.op = op;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getOldId() {
        return oldId;
    }

    public void setOldId(int oldId) {
        this.oldId = oldId;
    }

    public int getNewId() {
        return newId;
    }

    public void setNewId(int newId) {
        this.newId = newId;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return "AuditingApplyRecord{" +
                "operation='" + operation + '\'' +
                ", op=" + op +
                ", state=" + state +
                ", index=" + index +
                ", oldId=" + oldId +
                ", newId=" + newId +
                ", objectName='" + objectName + '\'' +
                ", date='" + date + '\'' +
                ", userId=" + userId +
                ", reason='" + reason + '\'' +
                '}';
    }
}
